package com.galgram.project.service.impl;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import com.galgram.project.mapper.FxNewsMapper;
import com.galgram.project.domain.FxNews;
import com.galgram.project.service.IFxNewsService;

/**
 * 头条新闻Service业务层处理
 *
 * @author galgram
 * @date 2024-11-20
 */
@Service
public class FxNewsServiceImpl extends ServiceImpl<FxNewsMapper, FxNews> implements IFxNewsService {

    @Override
    public List<FxNews> selectFxNewsList(FxNews fxNews) {
        return baseMapper.selectFxNewsList(fxNews);
    }

    @Override
    public List<FxNews> getNewsList(FxNews fxNews) {
        return baseMapper.getNewsList(fxNews);
    }

}
